package com.jic.member.service;

import java.lang.Long;
import java.util.List;

import com.jic.common.base.vo.Page;
import com.jic.common.base.vo.PageResult;
import com.jic.member.entity.RuleObtain;

/**
* 积分获取规则详情表
* @author : 
* @email : 
* @since : 2020-01-15 08:28:14
* @version : v1.0.0
*/
public interface RuleObtainService {

    long insert(RuleObtain ruleObtain);

    long delete(Long id);

    long deleteByRuleInfoId(Long ruleInfoId);

    long update(RuleObtain ruleObtain);

    long updateByRuleInfoId(RuleObtain ruleObtain);

    RuleObtain queryByPrimaryKey(Long id);

    List<RuleObtain> query(RuleObtain ruleObtain);

    PageResult<RuleObtain> queryPage(RuleObtain ruleObtain, Page pageQuery);

}